<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登录</title>
<script type="text/javascript" src="/mrjy/common/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/mrjy/common/js/mrjy.js" charset="UTF-8"></script>
</head>
<body>
	<a href="#" onclick="login()">登录</a>
	<br>
	<a href="register.html">注册</a>
</body>

<script type="text/javascript">
  	function login(){
  		$.get(getTimeURL("maintain/userInfo/login.do"),function(data){
			if(data.loginMessage=="ok"){
				window.location="maintain/main.html"; 		
			}
	},"json");
  	}
</script>
</html>